//
//  TT_JumpManager.h
//  BaseProject
//
//  Created by 王洋 on 2020/5/29.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HomeADItemEventModel.h"
#import "CommonPackageModel.h"
NS_ASSUME_NONNULL_BEGIN

typedef void(^TT_JumpManagerCallBack)(BOOL success, NSString *message);


@interface TT_JumpManager : NSObject

typedef NS_ENUM(unsigned long, TT_JUMPTYPE) {
    //店铺列表单独
    TT_JUMPTYPE_StoreList_Simple            = 51,
    //店铺列表
    TT_JUMPTYPE_StoreList                   = 14 ,
    //店铺详情
    TT_JUMPTYPE_StoreDetail                 = 15,
    //套餐详情
    TT_JUMPTYPE_PackageDetail               = 16,
    //分类
    TT_JUMPTYPE_Category                    = 17,
    //平台津贴列表
    TT_JUMPTYPE_CouponList                  = 18,
    //html5
    TT_JUMPTYPE_H5                          = 20,
    //严选商家
    TT_JUMPTYPE_YXStore                     = 27,
    //场地
    TT_JUMPTYPE_Hall                        = 28,
    //全部分类
    TT_JUMPTYPE_SerCategoryAll              = 43,
    //婚品详情
    TT_JUMPTYPE_ProductDetail               = 44,
    
    //话题列表
    TT_JUMPTYPE_TopicList                   = 49,
    
    //帖子列表
    TT_JUMPTYPE_PostList                    = 57,
    //帖子详情
    TT_JUMPTYPE_PostDetail                  = 58,
    //话题详情
    TT_JUMPTYPE_TopicDetail                 = 59,
    //锦鲤活动
    TT_JUMPTYPE_JL_ACT                      = 60,
    
    
    

    //---------H5 跳转过来的--------
    //热门主题下级详情页面
    TT_JUMPTYPE_ThemeSubDetail              = 100,
    //H5返回
    TT_JUMPTYPE_H5Back                      = 101,
    //案例详情
    TT_JUMPTYPE_CaseDetail                  = 102,
    //婚礼统筹师(分配获得)
    TT_JUMPTYPE_IM_TCS                      = 103,
    //商品详情
    TT_JUMPTYPE_GoodsDetail                 = 104,
    //车队
    TT_JUMPTYPE_CarQueue                    = 106,

    
    //---------PUSH--------
    //系统消息详情
    TT_JUMPTYPE_SysNoti                     = 105,
    //备婚工具
    TT_JUMPTYPE_MarryTool                   = 52,
    //电子请柬
    TT_JUMPTYPE_E_Invitation                = 55,
    //头部搜索
    TT_JUMPTYPE_Search                      = 56,
    
    

    
    
    
    
    //加入推荐官
    TT_JUMPTYPE_JoinAgent                   = 10000,
    //婚戒申请
    TT_JUMPTYPE_ApplyRing                   = 10001,


    
    TT_JUMPTYPE_NewH5                   = 100005,

};

//bamarrycall://param?eventClickId=106&eventSellerId=8


+ (TT_JumpManager *)sharedManager;


//广告类根据id跳转
- (void)jumpWithModel:(HomeADItemEventModel *)jumpModel completion:(TT_JumpManagerCallBack)completion;


//对新老套餐详情进行新旧区分
- (void)jumpWithDetailModel:(CommonPackageModel *)model completion:(TT_JumpManagerCallBack)completion;

@end

NS_ASSUME_NONNULL_END
